﻿@model CmsContentVm
@{
    Layout = "~/Views/Shared/_UiLayout.cshtml";
}
@section styles {
    
    <link rel="stylesheet" href="/ui/css/news-details.css" asp-append-version="true">
}
<div class="banner">
    <img class="banner_img" src="@Model.ChanBackground">
    <div class="banner_title">
        <h1>
            <span>
                @Model.ChanName
            </span>
        </h1>
        <div class="banner_title_line"></div>
    </div>
</div>

<div class="bread_nav">
    <span>您的位置：</span>
    <a href="/" activelinkclass="bread_nav_active">首页</a>
    <div class="bread_line"></div>
    <a href="" activelinkclass="bread_nav_active">@Model.ChanName</a>
    <div class="bread_line"></div>
    <a href="" activelinkclass="bread_nav_active">@Model.ChildChanName</a>
</div>

<div class="inner_content content_web">
    <h1 class="auto_cut1">@Model.Title</h1>
    <div class="inner_content_line"></div>
    <div class="inner_content_date">

        发布日期:&nbsp;@(Model.AddTime)
        &nbsp;&nbsp;&nbsp;
    </div>
    <div class="inner_content_con">
        <article class="cq-article">
            @Html.Raw(Model.Body)
        </article>
    </div>
    <div class="inner_content_par clearfix">
        <div class="inner_content_par_left fl">
            @if (Model.PrevId.HasValue)
            {
                <a href="/ContentUI?id=@Model.PrevId">
                    <div class="inner_content_par_left_line"></div>
                    <div class="inner_content_par_left_b_line undis"></div>
                    <img src="/ui/image/icon_x_huijiantou.png">
                    <img class="undis" src="/ui/image/icon_x_baijiantou.png">
                    <span class="auto_cut">@Model.PrevTitle</span>
                </a>
            }
            else
            {
                <a href="javascript:void(0)">
                    <div class="inner_content_par_left_line"></div>
                    <div class="inner_content_par_left_b_line undis"></div>
                    <img src="/ui/image/icon_x_huijiantou.png">
                    <img class="undis" src="/ui/image/icon_x_baijiantou.png">
                    <span class="auto_cut">暂无上一篇</span>
                </a>
            }
            
        </div>
        <div class="inner_content_par_right fr click_bg">
            @if (Model.NextId.HasValue)
            {
                <a href="/ContentUI?id=@Model.NextId">
                    <div class="inner_content_par_right_line undis"></div>
                    <div class="inner_content_par_right_b_line"></div>
                    <img src="/ui/image/icon_huijiantou.png">
                    <img class="undis" src="/ui/image/icon_baijiantou.png">
                    <span class="auto_cut white">
                        @Model.NextTitle
                    </span>
                </a>
            }
            else
            {
                <a href="javascript:void(0)">
                    <div class="inner_content_par_right_line undis"></div>
                    <div class="inner_content_par_right_b_line"></div>
                    <img src="/ui/image/icon_huijiantou.png">
                    <img class="undis" src="/ui/image/icon_baijiantou.png">
                    <span class="auto_cut white">
                        暂无下一篇
                    </span>
                </a>
            }
            
        </div>
    </div>
</div>